package com.example.demo.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.example.entity.Users;

/**
 * Demo
 * @author Administrator
 *
 */
public interface DemoMapper {
	public List<Users> likeName(String name);
	
	
	public Users getById(long id);
	
	
	@Select("select name from Users where id=#{id}")
	public String getNameById(long id);
	
}
